package com.premierleaguestats.client;

import com.google.gwt.user.client.rpc.IsSerializable;

/*
 * Object that contains a season and position  
 */

public class Position implements IsSerializable, TeamStatsData {

	int pos;
	String season;
	
	public Position(){
		
	}
	
	public Position(int pos, String season){
		this.pos = pos;
		this.season = season;
	}

	public String getSeason() {
		return season;
	}

	public void setSeason(String season) {
		this.season = season;
	}

	@Override
	public int getData() {
		return pos;
	}

	@Override
	public void setData(int pos) {
		this.pos = pos;
	}
	
}
